<?php
header('Content-Type:text/html; Charset=UTF-8');
include 'lib/checker.php';

@$id = $_REQUEST['id'];

$title = '删除菜品错误提示';
$jumpUrl = 'dishTypeList.php';

require 'lib/db.php';

if(!empty($id)){
	dbDelete('delete from entry where id=:id',array('id'=>$id));
}

header('location:dishList.php');
